<!-- Author: Mary Llenos --> 
<!-- Last Modified: 11 Sep 2012 --> 
<?php
error_reporting (E_ALL ^ E_NOTICE);
	session_start();
	if (isset($_SESSION['empty'])) {
		?>
        <script type="text/javascript">alert("You have no posts to view!"); </script>
        <?php
		
		unset($_SESSION['empty']);
	}
	if (!isset($_POST['category'])) {
		$category = '';
	} else {
		$category = $_POST['category'];
	}
	if (!isset($_POST['place'])) {
		$district = '';
	} else {
		$district = $_POST['place'];
	}
	if (!isset($_POST['price'])) {
		$price1 = '';
	} else {
		$price1 = $_POST['price'];
	}
	if ($_SESSION['success']==true) {
		?>
        <script type="text/javascript">alert("Your post was added successfully!"); </script>
        <?php
		unset($_SESSION['success']);
	}
?>